home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if rollOver(20) then
- set the loc of sprite 48 to point(22, 30)
- else
- set the loc of sprite 48 to point(-1000, 30)
- end if
- go(the frame)
- end
-
- on mouseDown
- set whichSprite to the clickOn
- if (whichSprite >= 2) and (whichSprite <= 5) then
- handleButton(theOpenDialog, whichSprite)
- else
- if (whichSprite = 10) or (whichSprite = 11) then
- handleButton(theScrollBar, whichSprite)
- else
- if whichSprite = 9 then
- moveThumbRect(theScrollBar, the mouseH)
- else
- if whichSprite = 12 then
- set offset to the width of sprite 13 / 2
- repeat while the mouseDown
- if (the mouseH >= (the left of sprite 9 + offset)) and (the mouseH <= (the right of sprite 9 - offset)) then
- set the locH of sprite 13 to the mouseH
- end if
- updateStage()
- end repeat
- moveThumbRect(theScrollBar, the locH of sprite 13)
- set the locH of sprite 13 to -1000
- else
- if whichSprite = 48 then
- clickedPreview(theOpenDialog)
- end if
- end if
- end if
- end if
- end if
- end
-